exports.response = function(res,data){
	return res.send(data);
};

exports.successResponse = function(res,data){
	var resultData = {};
	resultData.success = true;
	resultData.result  = data;
	return res.send(resultData);
};

exports.errorResponse = function(res,data){
	return res.send({ 
		success : false,
		result  : { 
	       	code : 'bussiness_error' , message : data 
		} 
	});
};